package cn.itcast.service;

import cn.itcast.domain.DingDan;
import cn.itcast.entity.PageResult;

import java.util.List;
import java.util.Map;

/**
 * Created by leiylong on 2020/4/21
 */
public interface DingDanService {
    List<Map> findDate(String date);

    List<DingDan> findAll();

    DingDan findById(String orderId);

    PageResult<DingDan> findPage(int page, int size);

    void add(DingDan dingDan);

    void update(DingDan dingDan);

    List<DingDan> findList(Map<String, Object> searchMap);
}
